﻿using System;
using Plugins.Controls;

namespace MathML
{
    public partial class MathWindow : PluginWindow
    {
        private Math m = new Math();
        private Random rnd = new Random(0);

        public MathWindow()
        {
            InitializeComponent();

            this.BackgroundControl.Click += (object sender, EventArgs e) =>
            {
                this.BackgroundControl.WriteFirstLine(Math.Serialize(m));
            };
        }
    }
}
